/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-18
 * Time: 11:55
 */
public class Test008 {
    public static boolean isLeapYear(int y){
        if((y%4==0&&y%100!=0)||y%400==0){
            return true;
        }else{
            return false;
        }
    }
    public static void main(String[] args) {
        System.out.println(isLeapYear(4000));
    }
}
